export default {
    path: '/games',
    name: 'Games',
    component: () => import('@/views/pages/games/index.vue'),
    children: [
        {
            path: 'index',
            name: 'GamesHome',
            component: () => import('@/views/pages/games/index.vue')
        },
        {
            path: 'tetris',
            name: 'Tetris',
            component: () => import('@/views/pages/games/tetris/index.vue')
        },
        {
            path: 'snake',
            name: 'Snake',
            component: () => import('@/views/pages/games/snake/index.vue')
        },
        {
            path: 'runner',
            name: 'Runner',
            component: () => import('@/views/pages/games/runner/index.vue')
        },
        {
            path: 'timeThief',
            name: 'TimeThief',
            component: () => import('@/views/pages/games/timeThief/index.vue')
        },
        {
            path: 'spaceWar',
            name: 'SpaceWar',
            component: () => import('@/views/pages/games/spaceWar/index.vue')
        },
        {
            path: 'fruitNinja',
            name: 'FruitNinja',
            component: () => import('@/views/pages/games/fruitNinja/index.vue')
        },
        {
            path: 'sudoku',
            name: 'Sudoku',
            component: () => import('@/views/pages/games/sudoku/index.vue')
        },
        {
            path: 'goGame',
            name: 'GoGame',
            component: () => import('@/views/pages/games/goGame/index.vue')
        },
        {
            path: 'gomoku',
            name: 'Gomoku',
            component: () => import('@/views/pages/games/gomoku.vue'),
            meta: {
                title: '五子棋'
            }
        },
        {
            path: 'mario',
            name: 'mario',
            component: () => import('@/views/pages/games/mario.vue'),
            meta: {
                title: '五子棋'
            }
        },
        {
            path: 'minesweeper',
            name: 'minesweeper',
            component: () => import('@/views/pages/games/minesweeper.vue'),
            meta: {
                title: '扫雷'
            }
        },
        {
            path: 'violentMotorcycle',
            name: 'violentMotorcycle',
            component: () => import('@/views/pages/games/violentMotorcycle/index.vue'),
            meta: {
                title: '扫雷'
            }
        }
    ]
}
